package ws.jakarta.ibukota.culinary.service.impl;

import java.util.List;

import ws.jakarta.ibukota.culinary.dao.FoodItemDao;
import ws.jakarta.ibukota.culinary.model.FoodItem;
import ws.jakarta.ibukota.culinary.service.CulinaryService;

public class CulinaryServiceImpl implements CulinaryService {

	FoodItemDao foodItemDao;
	
	
	public void setFoodItemDao(FoodItemDao foodItemDao) {
		this.foodItemDao = foodItemDao;
	}

	public List<FoodItem> getAllFoodItems() {
		return foodItemDao.getAllItems();
	}

	public FoodItem getFoodById(String id) {
		return foodItemDao.getById(id);
	}

}
